using UnityEngine;
using System.Collections;

public class DifficultyGUI : MonoBehaviour 
{

	// Use this for initialization
	void Start () 
	{
	
	}
	
	// Update is called once per frame
	void Update () 
	{
	
	}
	
	void OnGUI () 
	{
		GUI.BeginGroup (new Rect (Screen.width / 2-100, Screen.height / 2-100, 200, 200));
	
		GUI.Box (new Rect (0,0,200,200), "Select Difficulty");
		if(GUI.Button (new Rect (50,50,100,30), "Easy"))
		{
			Application.LoadLevel("EasyLevel");
		}
		if(GUI.Button (new Rect (50,100,100,30), "LessEasy"))
		{
			Application.LoadLevel("HarderEnemy");
		}

		GUI.EndGroup ();
	}
}
